/* 页面横幅样式 */
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3)), url('https://cfcyunchat-1314260234.cos.ap-nanjing.myqcloud.com/pc/c6f3e02a6fa25da77c995bad5511634.png') !important;
    background-size: 100% 100% !important;
    background-position: center 12% !important;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.page-banner p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
}

/* 党建理念网格样式 */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.philosophy-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.philosophy-item:hover {
    transform: translateY(-5px);
}

.philosophy-item i {
    font-size: 2.5em;
    color: #dc3545; /* 红色，体现党建特色 */
    margin-bottom: 20px;
}

.philosophy-item h3 {
    color: #333;
    margin-bottom: 15px;
}

.philosophy-item p {
    color: #666;
    line-height: 1.6;
}

/* 党建活动网格样式 */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.activity-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.activity-card .card-content {
    padding: 25px;
}

.activity-card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.activity-card p {
    color: #666;
    line-height: 1.6;
}

/* 荣誉与成就网格样式 */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.honor-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.honor-item:hover {
    transform: translateY(-5px);
}

.honor-item i {
    font-size: 2.5em;
    color: #ffc107; /* 黄色，体现荣誉感 */
    margin-bottom: 20px;
}

.honor-item h3 {
    color: #333;
    margin-bottom: 15px;
}

.honor-item p {
    color: #666;
    line-height: 1.6;
}

/* 联系我们样式 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 40px 0;
}

.contact-info {
    color: white;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    width: 20px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
}

.contact-form h3 {
    margin-bottom: 20px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .page-banner {
        padding: 60px 0;
        background-attachment: scroll !important;
    }

    .page-banner h1 {
        font-size: 2em;
    }

    .philosophy-grid,
    .activity-grid,
    .honor-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-item,
    .activity-card,
    .honor-item {
        margin: 0 20px;
    }
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background: #007bff;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* 通用样式 */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
    font-size: 1.1em;
}

.bg-light {
    background: #f8f9fa;
}

.bg-dark {
    background: #343a40;
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 党建简介创新排版 */
.party-intro-innovate {
    background: linear-gradient(120deg, #fff5f0 60%, #fff 100%);
    padding: 60px 0 40px 0;
}
.party-title-underline {
    position: relative;
    display: inline-block;
    margin: 0 auto 48px auto;
    color: #0f2a44;
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
}
.party-title-underline::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #0f2a44;
    border-radius: 2px;
    margin: 16px auto 0 auto;
}
.party-points-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}
.party-point-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(183,28,28,0.08);
    padding: 28px 36px;
    max-width: 820px;
    width: 100%;
    min-height: 64px;
    transition: box-shadow 0.2s;
}
.party-point-card:hover {
    box-shadow: 0 6px 24px rgba(183,28,28,0.16);
}
.party-square-innovate {
    width: 28px;
    height: 28px;
    background: #0f2a44;
    border-radius: 6px;
    margin-right: 28px;
    flex-shrink: 0;
}
.party-point-text-innovate {
    font-size: 1.18em;
    color: #6d2323;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 1px;
    text-align: left;
}
@media (max-width: 700px) {
    .party-point-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 14px;
        min-height: 0;
    }
    .party-square-innovate {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .party-point-text-innovate {
        font-size: 1em;
        text-align: left;
    }
} 